package C10_7_PreserveWholeObject;

/**
 * 保持对象完整
 **/
public class PreserveWholeObject {



    void sum(int num1, int num2) {
        int a = num1 + num2;
    }

    void test() {
        Temp temp = new Temp();
        int low = temp.getLow();
        int high = temp.getHigh();

        sum(low,high);

        sum(temp);
    }

    void sum(Temp temp) {

    }
}
